<template>
	<view class="content">
		<view class="subject mt20 specHeader">
			<orderModule :orderData="orderData"></orderModule>
			<view class="attached fs22 c9">已优惠： <text class="c3">5元</text></view>
		</view>
		<view class="subject mt20 total">
			<view class="flex total-cell">
				<view class="fs28 c9">申请金额</view>
				<view class="fs28 c3">218.00元</view>
			</view>
			<view class="total-cell">
				<view class="flex">
					<view class="fs28 c9">申请金额</view>
					<view class="fs28 c3">请选择申请原因</view>
				</view>
				<view class="total-text fs26 c3 lH42 mt20">
					偏小，买了最大号还是觉得后肩背有点小，胖也是一个
					原因，但是难道不能把尺码做大一点吗？
				</view>
				<view class="mt20">
					<image v-for="item in afterInfo.image" :key="item.index" :src="item" mode="aspectFill" class="mr20 infoImage"></image>
				</view>
			</view>
			<view class="total-cell">
				<view class="flex">
					<view class="fs28 c9">平台拒绝原因</view>
				</view>
				<view class="total-text fs26 c3 lH42 mt20">
					谢谢亲的惠顾，非常感谢您对我们法涵意弛旗舰店的支
					持，在我们这里订购，您可以放心。
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import orderModule from "../../components/orderitems/modualar.vue"
	export default {
		components: {
			orderModule,
		},
		data() {
			return {
				orderData: {
					goods_image: "https://img.alicdn.com/tps/i3/TB1KAtdHXXXXXajXVXXMxXJVFXX-100-100.jpg_250x225Q50s50.jpg_.webp",
					goods_name: "ins婴儿床床围床上用品婴儿床围四季通用皇冠纯棉防火防盗防小强",
					goods_spec: "56*100三面围（送床笠枕套）",
					goods_discount: 40,
					goods_price: 58.8,
					checked: true,
					number: 1,
					id: '201929894'
				},
				afterInfo: {
					image: ["../../static/header.jpg", "../../static/header.jpg", "../../static/header.jpg"]
				}
			}
		}
	}
</script>

<style scoped>
	.content {
		padding: 0 20rpx 148rpx;
	}

	.subject {
		padding: 20rpx 26rpx;
		background: #FFFFFF;
		border-radius: 12rpx;
	}

	.specHeader {
		padding-bottom: 32rpx;
	}

	.attached {
		margin-left: 196rpx;
	}

	.total {
		padding: 30rpx 24rpx;
	}

	.total-cell {
		padding: 24rpx 0;
	}
	
	.total-cell:last-child{
		padding-bottom: 0;
	}
	
	.total-text {
		padding: 24rpx 16rpx;
		background: #F7F7F7;
		border-radius: 12rpx;
	}

	.infoImage {
		width: 160rpx;
		height: 160rpx;
	}
</style>
